package com.bjfu.demo.utils;

import lombok.Getter;

@Getter
public enum ResultCode {
    /**
     * 响应状态码
     */
    OK(200, "OK"),
    ERROR(500, "error");
    private Integer code;
    private String message;

    private ResultCode() {
    }

    ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


}
